// 1.单独维护pinia
import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(persist)
export default pinia

// 2.创建好的仓库统一从这导出
// import { useUserStore } from './user'
// export { useUserStore }
// 简写
export * from './user'
export * from './consult'
